<?php

$contents = "hello world \n";
$path = __DIR__."/1.txt";
swoole_async_writefile($path,$contents,function($filename){
    echo "Success".PHP_EOL;
},FILE_APPEND);
echo "Write Start :".PHP_EOL;